package com.winstar;

import com.winstar.entity.NumberAttribution;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.actuate.system.ApplicationPidFileWriter;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author  shoo on 2017/1/4.
 * @decribe  号码归属地查询
 */
@SpringBootApplication
@EnableDiscoveryClient
public class NumberAttributionApplication {
    public static void main(String[] args) {
        SpringApplication numberAttributionApplication = new SpringApplication(NumberAttributionApplication.class);
        numberAttributionApplication.addListeners(new ApplicationPidFileWriter("winstar-common-number-attribution-server.pid"));
        numberAttributionApplication.run(args);
    }
}
